package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 车辆操作日志对象 vehicle_operation_logs
 * 
 * @author whut
 * @date 2024-11-21
 */
public class VehicleOperationLogs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceId;

    /** 车辆编号 */
    @Excel(name = "车辆编号")
    private String vehicleId;

    /** 操作者手机 */
    @Excel(name = "操作者手机")
    private String operatorPhone;

    /** 操作者类型 */
    @Excel(name = "操作者类型")
    private Long operatorType;

    /** 操作员姓名 */
    private String operatorName;

    /** 指令来源 */
    @Excel(name = "指令来源")
    private String commandSource;

    /** 指令内容 */
    @Excel(name = "指令内容")
    private String commandContent;

    /** 指令通道 */
    @Excel(name = "指令通道")
    private String commandChannel;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operationTime;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    /** 操作 */
    @Excel(name = "操作")
    private String operation;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceId(String deviceId) 
    {
        this.deviceId = deviceId;
    }

    public String getDeviceId() 
    {
        return deviceId;
    }
    public void setVehicleId(String vehicleId) 
    {
        this.vehicleId = vehicleId;
    }

    public String getVehicleId() 
    {
        return vehicleId;
    }
    public void setOperatorPhone(String operatorPhone) 
    {
        this.operatorPhone = operatorPhone;
    }

    public String getOperatorPhone() 
    {
        return operatorPhone;
    }
    public void setOperatorType(Long operatorType) 
    {
        this.operatorType = operatorType;
    }

    public Long getOperatorType() 
    {
        return operatorType;
    }
    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }
    public void setCommandSource(String commandSource) 
    {
        this.commandSource = commandSource;
    }

    public String getCommandSource() 
    {
        return commandSource;
    }
    public void setCommandContent(String commandContent) 
    {
        this.commandContent = commandContent;
    }

    public String getCommandContent() 
    {
        return commandContent;
    }
    public void setCommandChannel(String commandChannel) 
    {
        this.commandChannel = commandChannel;
    }

    public String getCommandChannel() 
    {
        return commandChannel;
    }
    public void setOperationTime(Date operationTime) 
    {
        this.operationTime = operationTime;
    }

    public Date getOperationTime() 
    {
        return operationTime;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setOperation(String operation) 
    {
        this.operation = operation;
    }

    public String getOperation() 
    {
        return operation;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceId", getDeviceId())
            .append("vehicleId", getVehicleId())
            .append("operatorPhone", getOperatorPhone())
            .append("operatorType", getOperatorType())
            .append("operatorName", getOperatorName())
            .append("commandSource", getCommandSource())
            .append("commandContent", getCommandContent())
            .append("commandChannel", getCommandChannel())
            .append("operationTime", getOperationTime())
            .append("remarks", getRemarks())
            .append("operation", getOperation())
            .toString();
    }
}
